package com.jianggujin.modulelink.test;

import com.jianggujin.modulelink.JModule;
import com.jianggujin.modulelink.JModuleListener;
import com.jianggujin.modulelink.config.JModuleConfig;

public class GlobalModuleListener implements JModuleListener {

    @Override
    public void onLoaded(JModule module) {
        System.out.println("global onLoaded:" + module.getModuleConfig().getModuleName());
    }

    @Override
    public void onUnloaded(JModuleConfig config) {
        System.out.println("global onUnload:" + config.getModuleName());
    }
}